import { lazy } from 'react'

const routes = [
    {
        path:"/article",
        component: lazy(()=>import('../views/Article')),
        meta: {
            title:"文章管理",
        },
        exact: true,
        routes: []
    },
    {
        path:"/user",
        component: lazy(()=>import('../views/user/index')),
        meta: {
            title:"用户管理",
        },
        child: []
    },
    {
        path:"/",
        component: lazy(()=>import('../views/Home')),
        meta: {
            title:"App",
        },
        child: []
    },
]
export default routes;